﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZXIMEW.DAL.Base;
using ZXIMEW.Models.DModels;

namespace ZXIMEW.DAL
{
    public class ModbusParaDAL:BaseDAL<ModbusParaSetInfo>
    {
        /// <summary>
        /// 获取所有的参数列表
        /// </summary>
        /// <returns></returns>
        public List<ModbusParaSetInfo> GetAllParas()
        {
            return GetModelList("IsDeleted=0", "", "SlaveAddress,Address");
        }
    }
}
